//////////////////////////////////////////////////////////////////////////
public:
	static CaptureDeviceFlag MAKE_DEVICE_INDEX(CaptureDeviceFlag type, int index)
	{
		return (CaptureDeviceFlag)((int)type + index);
	}

	/// <summary>
	/// </summary>
	static int FOURCC(int c1, int c2, int c3, int c4)
	{
		return (((c1) & 255) + (((c2) & 255) << 8) + (((c3) & 255) << 16) + (((c4) & 255) << 24));

	}
	/// <summary>
	/// Open Codec Selection Dialog (Windows only)
	/// </summary>
	static const int FOURCC_PROMPT = CV_FOURCC_PROMPT;
	/// <summary>
	/// Use default codec for specified filename (Linux only)
	/// </summary>
	static const int FOURCC_DEFAULT = CV_FOURCC_DEFAULT;
	//////////////////////////////////////////////////////////////////////////